
<!DOCTYPE html>
<html lang='zh-CN'>
<head>
<script src="https://assets.gitee.com/assets/static/sentry-5.1.0-109ee3d8895a239331efcf947ba7f5d8.js"></script>
<script src="/static/javascripts/polyfill-7.4.3.min.js"></script>
<title>Git 大全 - Gitee.com</title>
<meta charset='utf-8'>
<meta content='always' name='referrer'>
<meta content='Gitee' property='og:site_name'>
<meta content='Object' property='og:type'>
<meta content='http://gitee.com/all-about-git' property='og:url'>
<meta content='https://gitee.com/static/images/logo_themecolor.png' itemprop='image' property='og:image'>
<meta content='Git 大全 - Gitee.com' itemprop='name' property='og:title'>
<meta content='最全面的 Git 资源索引以及常用命令教程。' property='og:description'>
<meta content='git,git教程,git命令,git使用' name='Keywords'>
<meta content='最全面的 Git 资源索引以及常用命令教程。' itemprop='description' name='Description'>

<meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="authenticity_token" name="csrf-param" />
<meta content="E5NseYyQdfeCpV98G362K5QSiNAmn1mhu1e9vOwdtro=" name="csrf-token" />

<link href="https://assets.gitee.com/assets/favicon-9007bd527d8a7851c8330e783151df58.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
  var title = document.title.replace(/( - Gitee| - 码云)$/, '')
      imgUrl = '';
  
  document.addEventListener('DOMContentLoaded', function(event) {
    var imgUrlEl = document.querySelector('.readme-box .markdown-body > img, .readme-box .markdown-body :not(a) > img');
    imgUrl = imgUrlEl && imgUrlEl.getAttribute('src');
  
    if (!imgUrl) {
      imgUrlEl = document.querySelector('meta[itemprop=image]');
      imgUrl = imgUrlEl && imgUrlEl.getAttribute('content'); 
      imgUrl = imgUrl || "https://gitee.com/static/images/logo_themecolor.png";
    }
  
    wx.config({
      debug: false,
      appId: "wxff219d611a159737",
      timestamp: "1603371549",
      nonceStr: "e6bfb5ec95dfea1895312ce245de4d31",
      signature: "1df9026ffca171b059ae7f5fcac965d190cc72ea",
      jsApiList: [
        'onMenuShareTimeline',
        'onMenuShareAppMessage'
      ]
    });
  
    wx.ready(function () {
      wx.onMenuShareTimeline({
        title: title, // 分享标题
        link: "https://gitee.com/all-about-git", // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
        imgUrl: imgUrl // 分享图标
      });
      wx.onMenuShareAppMessage({
        title: title, // 分享标题
        link: "https://gitee.com/all-about-git", // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
        desc: document.querySelector('meta[name=Description]').getAttribute('content'),
        imgUrl: imgUrl // 分享图标
      });
    });
    wx.error(function(res){
      console.error('err', res)
    });
  })
</script>

<script>
//<![CDATA[
window.gon = {};gon.locale="zh-CN";gon.sentry_dsn=null;gon.baidu_register_hm_push=null;gon.sensor={"server_url":"https://haveaniceday.gitee.com:3443/sa?project=production"};gon.info={"controller_path":"home","action_name":"all_about_git","current_user":{"id":1890167,"name":"jiely007","username":"jiely007","official":false,"avatar_url":"no_portrait.png#五月游泳的鱼-jiely007"}};gon.tour_env={"current_user":"jiely007","action_name":"all_about_git","original_url":"http://gitee.com/all-about-git","controller_path":"home"};
//]]>
</script>
<script src="https://assets.gitee.com/assets/static/sensor-a8642a734004a5ebe37533e9cd7bc4a4.js"></script>
<script>
    var userAgent = navigator.userAgent;
    var isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1;
    if(isLessIE11){
      var can_access = ""
      if (can_access != "true"){
        window.location.href = "/incompatible.html";
      }
    }
</script>

<link href="https://assets.gitee.com/assets/home/application-11116cf7398f8149a709d4ca6d1ad867.css" media="all" rel="stylesheet" />
<script src="https://assets.gitee.com/assets/home/app-df088844655bd83ad320108214bf97ee.js"></script>

<style>
  #git-bulletin, #oneclick_login_by_osc{
    display: none !important;
  }
</style>
</head>
<body class='large ui_basic' id='home-all_about_git'>
<header class='common-header fixed noborder' id='git-header-nav'>
<div class='ui container'>
<div class='ui menu header-menu'>
<div class='git-nav-expand-bar'>
<i class='iconfont icon-mode-table'></i>
</div>
<div class='gitee-nav__sidebar'>
<div class='gitee-nav__sidebar-container'>
<div class='gitee-nav__sidebar-top'>
<div class='gitee-nav__avatar-box'>
<a href="/jiely007"><img avatar="五月游泳的鱼-jiely007" class="ui avatar image jiely007-avatar" />
</a></div>
<div class='gitee-nav__info-box'>
<a href="/jiely007">五月游泳的鱼</a>
</div>
</div>
<div class='gitee-nav__sidebar-middle'>
<div class='gitee-nav__sidebar-list'>
<ul>
<li class='gitee-nav__sidebar-item'>
<a href="/jiely007"><i class='iconfont icon-ic-dashboard'></i>
<span class='gitee-nav__sidebar-name'>个人主页</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/explore"><i class='iconfont icon-ic-discover'></i>
<span class='gitee-nav__sidebar-name'>开源软件</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/enterprises"><i class='iconfont icon-ic-enterprise'></i>
<span class='gitee-nav__sidebar-name'>企业版</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/education"><i class='iconfont icon-ic-education'></i>
<span class='gitee-nav__sidebar-name'>高校版</span>
</a></li>
<li class='gitee-nav__sidebar-item split-line'></li>
<li class='gitee-nav__sidebar-item'>
<a href="/search"><i class='iconfont icon-ic-search'></i>
<span class='gitee-nav__sidebar-name'>搜索</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/help"><i class='iconfont icon-help-circle'></i>
<span class='gitee-nav__sidebar-name'>帮助中心</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/terms"><i class='iconfont icon-file'></i>
<span class='gitee-nav__sidebar-name'>使用条款</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/about_us"><i class='iconfont icon-issuepx'></i>
<span class='gitee-nav__sidebar-name'>关于我们</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a href="/profile/account_information"><i class='iconfont icon-edit'></i>
<span class='gitee-nav__sidebar-name'>设置</span>
</a></li>
<li class='gitee-nav__sidebar-item'>
<a data-method="delete" href="/logout" rel="nofollow"><i class='iconfont icon-ic-logout'></i>
<span class='gitee-nav__sidebar-name'>
退出
</span>
</a></li>
</ul>
</div>
</div>
<div class='gitee-nav__sidebar-bottom'>
<div class='gitee-nav__sidebar-close-button'>
<i class='fa fa-angle-double-left'></i>
</div>
</div>
</div>
</div>

<div class='item gitosc-logo'>
<a href="/"><img alt='Gitee — 基于 Git 的代码托管和研发协作平台' class='ui inline image' height='28' src='/static/images/logo.svg?t=158106664' title='Gitee — 基于 Git 的代码托管和研发协作平台' width='95'>
<img alt='Gitee — 基于 Git 的代码托管和研发协作平台' class='ui inline black image' height='28' src='/static/images/logo-black.svg?t=158106664' title='Gitee — 基于 Git 的代码托管和研发协作平台' width='95'>
</a></div>
<a class="item " href="/explore" title="开源软件">开源软件
</a><a class="item " href="/enterprises" title="企业版">企业版
<sup class='ui red label'>
特惠
</sup>
</a><a class="item " href="/education" title="高校版">高校版
</a><a class="item" href="https://blog.gitee.com/" id="gitee-blog" target="_blank" title="博客">博客
</a><div class='dropdown item loading ui' id='my-gitee-dropdown'>
<a href="/">我的</a>
<i class='dropdown icon'></i>
<div class='menu'>
<div class='header user-enterprises'>
<a class="pull-right" href="/jiely007/dashboard/enterprises" target="_blank">全部</a>
企业
<span class='count'></span>
</div>
<div class='disabled item tip user-enterprises'>
无企业
</div>
<div class='header user-groups'>
<a class="pull-right" href="/jiely007/dashboard/groups" target="_blank">全部</a>
组织
<span class='count'></span>
</div>
<div class='disabled item tip user-groups'>
无组织
</div>
<div class='header user-programs'>
项目
<span class='count'></span>
</div>
<div class='disabled item tip user-programs'>
<span class="translation_missing" title="translation missing: zh-CN.layouts.header.empty_programs">Empty Programs</span>
</div>
<div class='header user-projects'>
<a class="pull-right" href="/jiely007/projects" target="_blank">全部</a>
仓库
<span class='count'></span>
</div>
<div class='disabled item tip user-projects'>
无项目
</div>
</div>
</div>
<div class='center responsive-logo'>
<a href="/"><img alt='Gitee — 基于 Git 的代码托管和研发协作平台' class='ui inline image' height='24' src='/static/images/logo.svg?t=158106664' title='Gitee — 基于 Git 的代码托管和研发协作平台' width='85'>
<img alt='Gitee — 基于 Git 的代码托管和研发协作平台' class='ui inline black image' height='24' src='/static/images/logo-black.svg?t=158106664' title='Gitee — 基于 Git 的代码托管和研发协作平台' width='85'>
</a></div>
<div class='right menu userbar' id='git-nav-user-bar'>
<form accept-charset="UTF-8" action="/search" class="ui item" data-text-filter="搜索格式不正确" data-text-require="搜索关键字不能少于1个" id="navbar-search-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
<input id="navbar-search-type" name="type" type="hidden" />
<input id="fork_filter" name="fork_filter" type="hidden" value="on" />
<div class='ui search'>
<input class="prompt" id="navbar-search-input" name="q" placeholder="搜开源" type="text" value="" />
</div>
</form>

<script>
  var can_search_in_repo = 0,
      repo = "",
      reponame = "";
  
  $(function() {
    var $search = $('#navbar-search-form .ui.search');
    $search.search({
      apiSettings: {
        url: '/search/relative_project?q={query}',
        onResponse: function (res) {
          if (res && res.status === 200 && res.data) {
            var query = htmlSafe($search.search('get value'));
  
            res.data.map(function (item) {
              item.path_ns = '/' + item.path_ns;
              item.icon = 'iconfont icon-project-public';
            });
            res.data.unshift({
              name_ns: "在全站搜索 <b class='hl'>" + query +"</b> 相关项目",
              path_ns: '/search?fork_filter=on&q=' + query,
              icon: 'iconfont icon-search'
            });
            if(can_search_in_repo == 1) {
              res.data.unshift({
                name_ns: "在当前仓库搜索 <b class='hl'>" + query +"</b> 相关代码",
                path_ns: '/search?type=code&q=' + query + '&repo=' + repo + '&reponame=' + reponame,
                icon: 'iconfont icon-search'
              });
            }
            return res;
          } else {
            return { data: [] };
          }
        }
      },
      fields: {
        results: 'data',
        description: 'name_ns',
        url: 'path_ns',
        icon: 'icon'
      },
      minCharacters: 1,
      maxResults: 10,
      searchDelay: 250,
      showNoResults: false,
      transition: 'fade'
    });
  });
</script>

<div class='item ui dropdown empty' data-count-path='/notifications/unread_count' data-enable data-mark-notice-path='/notifications/mark' id='notice-dropdown'>
<a class="remind-button" href="/notifications"><i class='iconfont icon-remind'></i>
<div class='notice-count total'></div>
</a><div class='notice-dropdown-panel menu'>
<div class='notice-dropdown-panel-header'>
<div class='tab active' data-data-path='/notifications/notices?scope=referer' data-html-path='/notifications/referer' data-scope='referer'>
<div class='content'>
@ 我
<div class='notice-count referer'></div>
</div>
</div>
<div class='tab' data-data-path='/notifications/notices?scope=infos' data-html-path='/notifications/infos' data-scope='infos'>
<div class='content'>
通知
<div class='notice-count infos'></div>
</div>
</div>
<div class='tab' data-data-path='/notifications/notices?scope=messages' data-html-path='/notifications/messages' data-scope='messages'>
<div class='content'>
私信
<div class='notice-count messages'></div>
</div>
</div>
</div>
<div class='item notice-dropdown-panel-container'>
<div class='ui dimmer over active'>
<div class='ui loader'></div>
</div>
<div class='notice-list'></div>
<div class='notice-dropdown-panel-blank'>
暂没有新消息
</div>
</div>
<div class='notice-dropdown-panel-footer'>
<div class='action'>
<div class='side left'>
<a class="mark-notices" href="javascript: void(0);">当前标记为已读
</a></div>
<div class='side right'>
<a class="load-all" href="javascript: void(0);" target="_blank">查看全部
</a></div>
</div>
</div>
</div>
</div>

<div class='ui dropdown link item' id='git-nav-create'>
<i class='iconfont icon-add-thin'></i>
<div class='right menu'>
<a class="item" href="/projects/new"><i class='add square icon'></i>
新建仓库
</a><a class="item" href="/jiely007/codes/new"><i class='code icon'></i>
发布代码片段
</a><a class="item" href="/organizations/new"><i class='group icon'></i>
创建组织
</a><a class="item" href="/enterprises/new"><i class='icon iconfont icon-enterprise'></i>
开通企业版
</a><a class="item" href="/projects/import/url"><i class='github icon'></i>
从 GitHub / GitLab 导入仓库
</a></div>
</div>
<div class='ui dropdown item' id='git-nav-user'>
<img avatar="五月游泳的鱼-jiely007" class="ui avatar image" />
<i class='dropdown icon'></i>
<div class='right menu'>
<a class="item" href="/jiely007"><i class='iconfont icon-ic-home'></i>
个人主页
</a><a class="item" href="/jiely007/starred"><i class='iconfont icon-star'></i>
我的收藏
</a><a class="item" href="/profile/account_information"><div class='mayun-icon my-ic-edit my-ic-edit-dims'></div>
设置
</a><div class='divider'></div>
<a class="item" href="https://gitee.com/help" target="_blank"><div class='mayun-icon my-ic-help my-ic-help-dims'></div>
帮助
</a><div class='divider'></div>
<a class="item destroy-user-session" data-method="delete" href="/logout" rel="nofollow"><div class='mayun-icon my-ic-exit my-ic-exit-dims'></div>
退出
</a></div>
</div>
<script>
  $('.destroy-user-session').on('click', function() {
    $.cookie('access_token', null, { path: '/' });
  })
</script>

</div>
</div>
</div>
</header>
<script>
  Gitee.initNavbar()
  Gitee.initRepoRemoteWay()
</script>

<div class='fixed-notice-infos'>
<div class='all-messages'>
</div>
<div class='ui container'>
<div class='flash-messages' id='messages-container'></div>
</div>
<script>
  (function() {
    $(function() {
      var $error_box, alertTip, notify_content, notify_options, template;
      template = '<div data-notify="container" class="ui {0} message" role="alert">' + '<i data-notify="dismiss" class="close icon"></i>' + '<span data-notify="message">{2}</span>' + '</div>';
      notify_content = null;
      notify_options = {};
      alertTip = '';
      $error_box = $(".flash_error.flash_error_box");
      if (notify_options.type === 'error' && $error_box.length > 0 && !$.isEmptyObject(notify_content.message)) {
        if (notify_content.message === 'captcha_fail') {
          alertTip = "验证码不正确";
        } else if (notify_content.message === 'captcha_expired') {
          alertTip = "验证码已过期，请点击刷新";
        } else if (notify_content.message === 'not_found_in_database') {
          alertTip = "帐号或者密码错误";
        } else if (notify_content.message === 'not_found_and_show_captcha') {
          alertTip = "帐号或者密码错误";
        } else if (notify_content.message === 'phone_captcha_fail') {
          alertTip = "手机验证码不通过";
        } else {
          alertTip = notify_content.message;
        }
        return $error_box.html(alertTip).show();
      } else if (notify_content) {
        if ("all_about_git" === 'third_party_binding') {
          return $('#third_party_binding-message').html(notify_content.message).addClass('ui message red');
        }
        notify_options.delay = 3000;
        notify_options.template = template;
        notify_options.offset = {
          x: 10,
          y: 30
        };
        notify_options.element = '#messages-container';
        return $.notify(notify_content, notify_options);
      }
    });
  
  }).call(this);
</script>

</div>
<script>
  (function() {
    $(function() {
      var setCookie;
      setCookie = function(name, value) {
        $.cookie(name, value, {
          path: '/',
          expires: 365
        });
      };
      $('#remove-bulletin, #remove-bulletin-dashboard').on('click', function() {
        setCookie('remove_bulletin', "gitee-maintain-1600236264");
        $('#git-bulletin').hide();
      });
      $('#remove-member-bulletin').on('click', function() {
        setCookie('remove_member_bulletin', "gitee_member_bulletin");
        $(this).parent().hide();
      });
      return $('#remove-gift-bulletin').on('click', function() {
        setCookie('remove_gift_bulletin', "gitee-gift-bulletin");
        $(this).parent().hide();
      });
    });
  
  }).call(this);
</script>
<script>
  function closeMessageBanner(pthis, type, val) {
    var json = {}
  
    val = typeof val === 'undefined' ? null : val
    $(pthis).parent().remove()
    if (type === 'out_of_enterprise_member') {
      json = {type: type, data: val}
    } else if (type === 'enterprise_overdue') {
      json = {type: type, data: val}
    }
    $.post('/profile/close_flash_tip', json)
  }
</script>

<script>
  var userAgent = navigator.userAgent;
  var isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1;
  if(isLessIE11){
    var can_access = ""
    if (can_access != "true"){
      window.location.href = "/incompatible.html";
    }
  }
</script>

<div class='site-content'>
<div class='ui container all-about-git'>
<div class='markdown-body'>
<h1></h1>&#x000A;<h1>&#x000A;<a id="git-大全" class="anchor" href="#git-%E5%A4%A7%E5%85%A8"></a>Git 大全</h1>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="一git--gui-客户端" class="anchor" href="#%E4%B8%80git--gui-%E5%AE%A2%E6%88%B7%E7%AB%AF"></a>一、Git  GUI 客户端</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://www.oschina.net/p/git">Git 客户端下载（Windows）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/tortoisegit">TortoiseGit 客户端下载（Windows）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/sourcetree">Sourcetree 客户端下载（Windows、Mac）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/git-extensions">Git Extensions 客户端下载（Windows、Mac、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/smartgit">SmartGit 客户端下载（Windows、Mac、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/giteye">GitEye 客户端下载 （Windows、Mac、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitg">gitg 客户端下载（Windows、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/ungit">ungit 客户端下载（Windows、Mac、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/git-cola">git-cola 客户端下载（Windows、Mac、Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/tower">Tower 客户端下载（Windows、Mac）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitbox">Gitbox 客户端下载（Mac）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitup">GitUp 客户端下载（Mac）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/giggle">giggle 客户端下载（Linux）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/pocket-git">Pocket Git 客户端下载（Andorid）</a></p>&#x000A;<p><a href="https://workingcopyapp.com/">Working Copy 客户端下载（IOS）</a></p>&#x000A;<p><a href="https://git2go.com/">Git2Go 客户端下载（IOS）</a></p>&#x000A;<p><a href="http://gitdrive.com/">GitDrive 客户端下载（IOS）</a></p>&#x000A;<p><a href="https://git-fork.com/">Fork 客户端（Windows、Mac）</a></p>&#x000A;<p><a href="https://www.gitkraken.com/">GitKraken 客户端（Windows、Mac、Linux）</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="二git-ide-插件" class="anchor" href="#%E4%BA%8Cgit-ide-%E6%8F%92%E4%BB%B6"></a>二、Git IDE 插件</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://gitee.com/oschina/eclipse-oscgit">Eclipse、Myeclipse 插件下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/nbgit">Netbeans 插件下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/intellij-gitosc">IntelliJ IDEA 插件下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/codecloud-visualstudio">Visual Studio 插件下载</a></p>&#x000A;<p><a href="https://gitee.com/GitGroup/atom-gitosc">Atom 插件下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitsavvy">Sublime Text 插件下载</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="三git-浏览器插件" class="anchor" href="#%E4%B8%89git-%E6%B5%8F%E8%A7%88%E5%99%A8%E6%8F%92%E4%BB%B6"></a>三、Git 浏览器插件</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://gitee.com/oschina/GitCodeTree">Git 浏览器插件下载（Chrome、Firefox、Safari、Opera，支持码云和Github）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/octotree">Octotree 浏览器插件下载（Chrome，支持Github）</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitlab-treeview">GitLab-TreeView 浏览器插件下载（Chrome，支持GitLab）</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="四在线-git--代码托管平台" class="anchor" href="#%E5%9B%9B%E5%9C%A8%E7%BA%BF-git--%E4%BB%A3%E7%A0%81%E6%89%98%E7%AE%A1%E5%B9%B3%E5%8F%B0"></a>四、在线 Git  代码托管平台</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://gitee.com/">码云 Gitee 官网</a></p>&#x000A;<p><a href="https://github.com/">GitHub 官网</a></p>&#x000A;<p><a href="https://about.gitlab.com/">GitLab 官网</a></p>&#x000A;<p><a href="https://bitbucket.org/">Bitbucket 官网</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="五搭建-git--服务" class="anchor" href="#%E4%BA%94%E6%90%AD%E5%BB%BA-git--%E6%9C%8D%E5%8A%A1"></a>五、搭建 Git  服务</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://www.oschina.net/p/gitlab">GitLab 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitblit">Gitblit 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gogs">Gogs 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitea">Gitea 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitosis">Gitosis 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitolite">Gitolite 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gitstack">GitStack 开源版本下载</a></p>&#x000A;<p><a href="https://www.oschina.net/p/gidder">Gidder开源版本下载</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="六git-教程" class="anchor" href="#%E5%85%ADgit-%E6%95%99%E7%A8%8B"></a>六、Git 教程</h2>&#x000A;<h2></h2>&#x000A;<p><a href="https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000">廖雪峰 | Git教程</a></p>&#x000A;<p><a href="https://git-scm.com/book/zh/v2">Git - Book</a></p>&#x000A;<p><a href="https://gitee.com/progit/">Pro Git</a></p>&#x000A;<p><a href="http://www.bootcss.com/p/git-guide/">Git 简易指南</a></p>&#x000A;<p><a href="http://www.runoob.com/git/git-tutorial.html">菜鸟教程 | Git教程</a></p>&#x000A;<p><a href="https://www.cnblogs.com/syp172654682/p/7689328.html">博客园 | 深入浅出Git教程</a></p>&#x000A;<p><a href="https://www.w3cschool.cn/git/">W3Cschool | Git教程</a></p>&#x000A;<p><a href="https://www.yiibai.com/git/">易百教程 | Git教程</a></p>&#x000A;<p><a href="https://backlog.com/git-tutorial/cn/intro/intro1_1.html">Backlog | Git入门</a></p>&#x000A;<p><a href="https://blog.csdn.net/Free_Wind22/article/details/50967723">CSDN | Git 使用详细教程</a></p>&#x000A;<p><a href="https://lufficc.com/blog/the-core-conception-of-git#%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6%E7%B3%BB%E7%BB%9F">Lufficc | Git教程</a></p>&#x000A;<h1></h1>&#x000A;<h2>&#x000A;<a id="七git-常用命令" class="anchor" href="#%E4%B8%83git-%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4"></a>七、Git 常用命令</h2>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="仓库" class="anchor" href="#%E4%BB%93%E5%BA%93"></a>仓库</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 在当前目录新建一个Git代码库&#x000A;$ git init&#x000A;&#x000A;# 新建一个目录，将其初始化为Git代码库&#x000A;$ git init [project-name]&#x000A;&#x000A;# 下载一个项目和它的整个代码历史&#x000A;$ git clone [url]&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="配置" class="anchor" href="#%E9%85%8D%E7%BD%AE"></a>配置</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 显示当前的Git配置&#x000A;$ git config --list&#x000A;&#x000A;# 编辑Git配置文件&#x000A;$ git config -e [--global]&#x000A;&#x000A;# 设置提交代码时的用户信息&#x000A;$ git config [--global] user.name "[name]"&#x000A;$ git config [--global] user.email "[email address]"&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="增加删除文件" class="anchor" href="#%E5%A2%9E%E5%8A%A0%E5%88%A0%E9%99%A4%E6%96%87%E4%BB%B6"></a>增加/删除文件</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 添加指定文件到暂存区&#x000A;$ git add [file1] [file2] ...&#x000A;&#x000A;# 添加指定目录到暂存区，包括子目录&#x000A;$ git add [dir]&#x000A;&#x000A;# 添加当前目录的所有文件到暂存区&#x000A;$ git add .&#x000A;&#x000A;# 添加每个变化前，都会要求确认&#x000A;# 对于同一个文件的多处变化，可以实现分次提交&#x000A;$ git add -p&#x000A;&#x000A;# 删除工作区文件，并且将这次删除放入暂存区&#x000A;$ git rm [file1] [file2] ...&#x000A;&#x000A;# 停止追踪指定文件，但该文件会保留在工作区&#x000A;$ git rm --cached [file]&#x000A;&#x000A;# 改名文件，并且将这个改名放入暂存区&#x000A;$ git mv [file-original] [file-renamed]&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="代码提交" class="anchor" href="#%E4%BB%A3%E7%A0%81%E6%8F%90%E4%BA%A4"></a>代码提交</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 提交暂存区到仓库区&#x000A;$ git commit -m [message]&#x000A;&#x000A;# 提交暂存区的指定文件到仓库区&#x000A;$ git commit [file1] [file2] ... -m [message]&#x000A;&#x000A;# 提交工作区自上次commit之后的变化，直接到仓库区&#x000A;$ git commit -a&#x000A;&#x000A;# 提交时显示所有diff信息&#x000A;$ git commit -v&#x000A;&#x000A;# 使用一次新的commit，替代上一次提交&#x000A;# 如果代码没有任何新变化，则用来改写上一次commit的提交信息&#x000A;$ git commit --amend -m [message]&#x000A;&#x000A;# 重做上一次commit，并包括指定文件的新变化&#x000A;$ git commit --amend [file1] [file2] ...&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="分支" class="anchor" href="#%E5%88%86%E6%94%AF"></a>分支</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 列出所有本地分支&#x000A;$ git branch&#x000A;&#x000A;# 列出所有远程分支&#x000A;$ git branch -r&#x000A;&#x000A;# 列出所有本地分支和远程分支&#x000A;$ git branch -a&#x000A;&#x000A;# 新建一个分支，但依然停留在当前分支&#x000A;$ git branch [branch-name]&#x000A;&#x000A;# 新建一个分支，并切换到该分支&#x000A;$ git checkout -b [branch]&#x000A;&#x000A;# 新建一个分支，指向指定commit&#x000A;$ git branch [branch] [commit]&#x000A;&#x000A;# 新建一个分支，与指定的远程分支建立追踪关系&#x000A;$ git branch --track [branch] [remote-branch]&#x000A;&#x000A;# 切换到指定分支，并更新工作区&#x000A;$ git checkout [branch-name]&#x000A;&#x000A;# 切换到上一个分支&#x000A;$ git checkout -&#x000A;&#x000A;# 建立追踪关系，在现有分支与指定的远程分支之间&#x000A;$ git branch --set-upstream [branch] [remote-branch]&#x000A;&#x000A;# 合并指定分支到当前分支&#x000A;$ git merge [branch]&#x000A;&#x000A;# 选择一个commit，合并进当前分支&#x000A;$ git cherry-pick [commit]&#x000A;&#x000A;# 删除分支&#x000A;$ git branch -d [branch-name]&#x000A;&#x000A;# 删除远程分支&#x000A;$ git push origin --delete [branch-name]&#x000A;$ git branch -dr [remote/branch]&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="标签" class="anchor" href="#%E6%A0%87%E7%AD%BE"></a>标签</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 列出所有tag&#x000A;$ git tag&#x000A;&#x000A;# 新建一个tag在当前commit&#x000A;$ git tag [tag]&#x000A;&#x000A;# 新建一个tag在指定commit&#x000A;$ git tag [tag] [commit]&#x000A;&#x000A;# 删除本地tag&#x000A;$ git tag -d [tag]&#x000A;&#x000A;# 删除远程tag&#x000A;$ git push origin :refs/tags/[tagName]&#x000A;&#x000A;# 查看tag信息&#x000A;$ git show [tag]&#x000A;&#x000A;# 提交指定tag&#x000A;$ git push [remote] [tag]&#x000A;&#x000A;# 提交所有tag&#x000A;$ git push [remote] --tags&#x000A;&#x000A;# 新建一个分支，指向某个tag&#x000A;$ git checkout -b [branch] [tag]&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="查看信息" class="anchor" href="#%E6%9F%A5%E7%9C%8B%E4%BF%A1%E6%81%AF"></a>查看信息</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 显示有变更的文件&#x000A;$ git status&#x000A;&#x000A;# 显示当前分支的版本历史&#x000A;$ git log&#x000A;&#x000A;# 显示commit历史，以及每次commit发生变更的文件&#x000A;$ git log --stat&#x000A;&#x000A;# 搜索提交历史，根据关键词&#x000A;$ git log -S [keyword]&#x000A;&#x000A;# 显示某个commit之后的所有变动，每个commit占据一行&#x000A;$ git log [tag] HEAD --pretty=format:%s&#x000A;&#x000A;# 显示某个commit之后的所有变动，其"提交说明"必须符合搜索条件&#x000A;$ git log [tag] HEAD --grep feature&#x000A;&#x000A;# 显示某个文件的版本历史，包括文件改名&#x000A;$ git log --follow [file]&#x000A;$ git whatchanged [file]&#x000A;&#x000A;# 显示指定文件相关的每一次diff&#x000A;$ git log -p [file]&#x000A;&#x000A;# 显示过去5次提交&#x000A;$ git log -5 --pretty --oneline&#x000A;&#x000A;# 显示所有提交过的用户，按提交次数排序&#x000A;$ git shortlog -sn&#x000A;&#x000A;# 显示指定文件是什么人在什么时间修改过&#x000A;$ git blame [file]&#x000A;&#x000A;# 显示暂存区和工作区的差异&#x000A;$ git diff&#x000A;&#x000A;# 显示暂存区和上一个commit的差异&#x000A;$ git diff --cached [file]&#x000A;&#x000A;# 显示工作区与当前分支最新commit之间的差异&#x000A;$ git diff HEAD&#x000A;&#x000A;# 显示两次提交之间的差异&#x000A;$ git diff [first-branch]...[second-branch]&#x000A;&#x000A;# 显示今天你写了多少行代码&#x000A;$ git diff --shortstat "@{0 day ago}"&#x000A;&#x000A;# 显示某次提交的元数据和内容变化&#x000A;$ git show [commit]&#x000A;&#x000A;# 显示某次提交发生变化的文件&#x000A;$ git show --name-only [commit]&#x000A;&#x000A;# 显示某次提交时，某个文件的内容&#x000A;$ git show [commit]:[filename]&#x000A;&#x000A;# 显示当前分支的最近几次提交&#x000A;$ git reflog&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="远程同步" class="anchor" href="#%E8%BF%9C%E7%A8%8B%E5%90%8C%E6%AD%A5"></a>远程同步</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 下载远程仓库的所有变动&#x000A;$ git fetch [remote]&#x000A;&#x000A;# 显示所有远程仓库&#x000A;$ git remote -v&#x000A;&#x000A;# 显示某个远程仓库的信息&#x000A;$ git remote show [remote]&#x000A;&#x000A;# 增加一个新的远程仓库，并命名&#x000A;$ git remote add [shortname] [url]&#x000A;&#x000A;# 取回远程仓库的变化，并与本地分支合并&#x000A;$ git pull [remote] [branch]&#x000A;&#x000A;# 上传本地指定分支到远程仓库&#x000A;$ git push [remote] [branch]&#x000A;&#x000A;# 强行推送当前分支到远程仓库，即使有冲突&#x000A;$ git push [remote] --force&#x000A;&#x000A;# 推送所有分支到远程仓库&#x000A;$ git push [remote] --all&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="撤销" class="anchor" href="#%E6%92%A4%E9%94%80"></a>撤销</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 恢复暂存区的指定文件到工作区&#x000A;$ git checkout [file]&#x000A;&#x000A;# 恢复某个commit的指定文件到暂存区和工作区&#x000A;$ git checkout [commit] [file]&#x000A;&#x000A;# 恢复暂存区的所有文件到工作区&#x000A;$ git checkout .&#x000A;&#x000A;# 重置暂存区的指定文件，与上一次commit保持一致，但工作区不变&#x000A;$ git reset [file]&#x000A;&#x000A;# 重置暂存区与工作区，与上一次commit保持一致&#x000A;$ git reset --hard&#x000A;&#x000A;# 重置当前分支的指针为指定commit，同时重置暂存区，但工作区不变&#x000A;$ git reset [commit]&#x000A;&#x000A;# 重置当前分支的HEAD为指定commit，同时重置暂存区和工作区，与指定commit一致&#x000A;$ git reset --hard [commit]&#x000A;&#x000A;# 重置当前HEAD为指定commit，但保持暂存区和工作区不变&#x000A;$ git reset --keep [commit]&#x000A;&#x000A;# 新建一个commit，用来撤销指定commit&#x000A;# 后者的所有变化都将被前者抵消，并且应用到当前分支&#x000A;$ git revert [commit]&#x000A;&#x000A;暂时将未提交的变化移除，稍后再移入&#x000A;$ git stash&#x000A;$ git stash pop&#x000A;</code></pre>&#x000A;<h2></h2>&#x000A;<h3>&#x000A;<a id="其他" class="anchor" href="#%E5%85%B6%E4%BB%96"></a>其他</h3>&#x000A;<h2></h2>&#x000A;<pre><code># 生成一个可供发布的压缩包&#x000A;$ git archive&#x000A;</code></pre>&#x000A;<p>以上常用命令来自阮一峰老师的博客文章《常用 Git 命令清单》，感谢阮老师！</p></div>
</div>
<style>
  .all-about-git .markdown-body p {
    width: 50%;
    display: inline-block;
    float: left; }
  .all-about-git h1, .all-about-git h2, .all-about-git h3, .all-about-git h4, .all-about-git h5 {
    clear: both; }
</style>

</div>
<footer id='git-footer-main'>
<div class='ui container'>
<div class='logo-row'>
<img class='logo-img' src='/static/images/logo-black.svg?t=158106666'>
</div>
<div class='name-important'>
深圳市奥思网络科技有限公司版权所有
</div>
<div class='ui two column grid d-flex-center'>
<div class='nine wide column git-footer-left'>
<div class='ui four column grid' id='footer-left'>
<div class='column'>
<div class='ui link list'>
<div class='item'>
<a class="item" href="/about_us">关于我们</a>
</div>
<div class='item'>
<a class="item" href="/terms">使用条款</a>
</div>
<div class='item'>
<a class="item" href="/oschina/git-osc/issues">意见建议</a>
</div>
<div class='item'>
<a class="item" href="/links.html">合作伙伴</a>
</div>
</div>
</div>
<div class='column'>
<div class='ui link list'>
<div class='item'>
<a class="item" href="/all-about-git">Git 大全</a>
</div>
<div class='item'>
<a class="item" href="https://oschina.gitee.io/learn-git-branching/">Git 命令学习</a>
</div>
<div class='item'>
<a class="item" href="https://copycat.gitee.com/">代码克隆检测</a>
</div>
<div class='item'>
<a class="item" href="/appclient">APP与插件下载</a>
</div>
</div>
</div>
<div class='column'>
<div class='ui link list'>
<div class='item'>
<a class="item" href="/gitee-stars">Gitee 封面人物</a>
</div>
<div class='item'>
<a class="item" href="/gvp">GVP 项目</a>
</div>
<div class='item'>
<a class="item" href="https://blog.gitee.com/">Gitee 博客</a>
</div>
<div class='item'>
<a class="item" href="/enterprises#nonprofit-plan">Gitee 公益计划</a>
</div>
</div>
</div>
<div class='column'>
<div class='ui link list'>
<div class='item'>
<a class="item" href="/api/v5/swagger">OpenAPI</a>
</div>
<div class='item'>
<a class="item" href="/help">帮助文档</a>
</div>
<div class='item'>
<a class="item" href="/self_services">在线自助服务</a>
</div>
<div class='item'>
<a class="item" href="/git-osc">更新日志</a>
</div>
</div>
</div>
</div>
</div>
<div class='seven wide column right aligned followus git-footer-right'>
<div class='qrcode weixin'>
<img alt="Qrcode weixin" src="https://assets.gitee.com/assets/qrcode-weixin-9e7cfb27165143d2b8e8b268a52ea822.jpg" />
<p class='weixin-text'>微信服务号</p>
</div>
<div class='phone-and-qq column'>
<div class='ui list official-support-container'>
<div class='item'>
<a class="icon-popup" href="//shang.qq.com/wpa/qunwpa?idkey=df785aa7af71f7d74149ab062742d761b845464350ecba25eb440357a3e573b7" title="点击加入 Gitee 官方群"><i class='iconfont icon-logo-qq'></i>
<span>官方技术交流QQ群：1050025484</span>
</a></div>
<div class='item mail-and-zhihu'>
<a href="mailto: git@oschina.cn"><i class='iconfont icon-msg-mail'></i>
<span id='git-footer-email'>git#oschina.cn</span>
</a></div>
<div class='item mail-and-zhihu'>
<a href="https://www.zhihu.com/org/ma-yun-osc/" target="_blank"><i class='iconfont icon-zhihu'></i>
<span>Gitee</span>
</a></div>
<div class='item tel'>
<a>
<i class='iconfont icon-tel'></i>
<span>售前及售后使用咨询：400-606-0201</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class='bottombar'>
<div class='ui container'>
<div class='ui d-flex d-flex-between'>
<div class='seven wide column partner d-flex'>
<div class='open-atom d-flex-center'>
<img alt="Logo openatom" class="logo-openatom mr-1" src="https://assets.gitee.com/assets/logo-openatom-d083391cc8a54e283529f3fc11cc38ca.svg" />
<a href="https://www.openatom.org/" target="_blank">开放原子开源基金会</a>
<div class='sub-title ml-1'>认证代码托管平台</div>
</div>
<div class='report-12377 d-flex-center ml-3'>
<img alt="12377@2x" class="report-12377__logo mr-1" src="https://assets.gitee.com/assets/12377@2x-1aa42ed2d2256f82a61ecf57be1ec244.png" />
<a href="https://12377.cn" target="_blank">违法和不良信息举报中心</a>
</div>
<div class='copyright ml-3'>
<a href="http://www.beian.miit.gov.cn/">粤ICP备12009483号</a>
</div>
</div>
<div class='nine wide column right aligned'>
<i class='icon world'></i>
<a href="/language/zh-CN">简 体</a>
/
<a href="/language/zh-TW">繁 體</a>
/
<a href="/language/en">English</a>
</div>
</div>
</div>
</div>
</footer>
<script>
  var officialEmail = $('#git-footer-email').text()
  $('#git-footer-main .icon-popup').popup({ position: 'bottom center' })
  $('#git-footer-email').text(officialEmail.replace('#', '@'))
  window.gon.popover_card_locale = {
    follow:"关注",
    unfollow:"取消关注",
    gvp_title: "GVP - Gitee 最有价值开源项目",
    project: "项目",
    org: "开源组织",
    member: "",
    author: "作者",
    user_blocked: "该用户已被屏蔽或已注销",
    net_error: "网络错误",
    unknown_exception: "未知异常"
  }
</script>
<script src="https://assets.gitee.com/webpacks/popover_card-f8f6dbb28615dcff05a9.bundle.js"></script>


<div class='side-toolbar'>
<div class='button toolbar-help'>
<i class='iconfont icon-help'></i>
</div>
<div class='ui popup left center dark'>点此查找更多帮助</div>
<div class='toolbar-help-dialog'>
<div class='toolbar-dialog-header'>
<h3 class='toolbar-dialog-title'>搜索帮助</h3>
<form accept-charset="UTF-8" action="/help/load_keywords_data" class="toolbar-help-search-form" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
<div class='ui icon input fluid toolbar-help-search'>
<input name='keywords' placeholder='请输入产品名称或问题' type='text'>
<i class='icon search'></i>
</div>
</form>

<i class='iconfont icon-close toolbar-dialog-close-icon'></i>
</div>
<div class='toolbar-dialog-content'>
<div class='toolbar-help-hot-search'>
<div class='toolbar-roll'>
<a class="init active" href="https://oschina.gitee.io/learn-git-branching/?utm_source==gitee-help-widget" title="Git 命令在线学习"><i class='Blue icon icon-command iconfont'></i>
<span>Git 命令在线学习</span>
</a><a class="init " href="https://gitee.com/help/articles/4261?utm_source==gitee-help-widget" title="如何在 Gitee 导入 GitHub 仓库"><i class='icon icon-clipboard iconfont orange'></i>
<span>如何在 Gitee 导入 GitHub 仓库</span>
</a></div>
<div class='toolbar-list'>
<div class='toolbar-list-item'>
<a href="/help/articles/4114">Git 仓库基础操作</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4166">企业版和社区版功能对比</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4191">SSH 公钥设置</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4194">如何处理代码冲突</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4232">仓库体积过大，如何减小？</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4279">如何找回被删除的仓库数据</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4283">Gitee 产品配额说明</a>
</div>
<div class='toolbar-list-item'>
<a href="/help/articles/4284">GitHub仓库快速导入Gitee及同步更新</a>
</div>
</div>
</div>
<div class='toolbar-help-search-reseult'>
<div class='toolbar-help-flex-column'>
<div class='ui centered inline loader toolbar-help-loader'></div>
<div class='toolbar-list'></div>
<div class='toolbar-help-link-to-help'>
<a href="" target="_blank">查看更多搜索结果</a>
</div>
</div>
</div>
</div>
</div>
<script>
  var opt = { position: 'left center'};
  var $helpSideToolbar = $('.button.toolbar-help');
  var $toolbarRoll = $('.toolbar-roll');
  
  $(function() {
    if (true) {
      $helpSideToolbar.popup(opt).popup({lastResort:'left center'})
    } else {
      $helpSideToolbar.popup({lastResort:'left center'}).popup('show', opt);
      setTimeout(function() {
        $helpSideToolbar.popup('hide', opt);
      }, 3000);
    }
  
    if ($toolbarRoll.length) {
      setInterval(function() {
        var $nextActiveLink = $toolbarRoll.find('a.active').next();
        if (!$nextActiveLink.length) {
          $nextActiveLink = $toolbarRoll.find('a:first-child');
        }
        $nextActiveLink.attr('class', 'active').siblings().removeClass('active init');
      }, 5000);
    }
  })
</script>

<div class='button share-link'>
<i class='iconfont icon-share'></i>
</div>
<div class='ui popup dark'>
<div class='header'>
分享到
</div>
<div class='bdsharebuttonbox' style='display: flex'>
<a class='iconfont icon-home-service-wechat' data-cmd='weixin' title='分享到微信'></a>
<a class='iconfont icon-weibo' data-cmd='tsina' title='分享到新浪微博'></a>
<a class='iconfont icon-qq' data-cmd='sqq' title='分享到QQ好友'></a>
<a class='iconfont icon-qzone' data-cmd='qzone' title='分享到QQ空间'></a>
</div>
</div>
<div class='button gotop popup' id='gotop'>
<i class='iconfont icon-top'></i>
</div>
<div class='ui popup dark'>回到顶部</div>
</div>
<style>
  .side-toolbar .bdsharebuttonbox a {
    font-size: 24px;
    color: white !important;
    opacity: 0.9;
    margin: 6px 6px 0px 6px;
    background-image: none;
    text-indent: 0;
    height: auto;
    width: auto;
  }
</style>
<script>
  (function() {
    $('#project-user-message').popup({
      position: 'left center'
    });
  
  }).call(this);
</script>
<script>
  Gitee.initSideToolbar({})
</script>
<script>
  window._bd_share_config = {
    "common": {
      "bdSnsKey": {},
      "bdText": document.title,
      "bdMini": "1",
      "bdMiniList": ["bdxc","tqf","douban","bdhome","sqq","thx","ibaidu","meilishuo","mogujie","diandian","huaban","duitang","hx","fx","youdao","sdo","qingbiji","people","xinhua","mail","isohu","yaolan","wealink","ty","iguba","fbook","twi","linkedin","h163","evernotecn","copy","print"],
      "bdPic": "",
      "bdStyle": "1",
      "bdSize": "32"
    },
    "share": {}
  }
</script>
<script src="/bd_share/static/api/js/share.js"></script>




</body>
</html>
